package com.api.shopapi.service;



import com.api.shopapi.entity.Area;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface AreaService {

    int insert(Area area);

    int deleteByAreaCode(String areaCode);

    int updateByAreaCode(Area area);

    Area getByAreaCode(String areaCode);

    List<Area> getList();

    List<Area> getListByParentAreaCode(String parentAreaCode);

}
